﻿using System;
using System.Collections.Generic;

#if WINDOWS_PHONE71
using Microsoft.Phone.Scheduler;

namespace WindowsPhoneEssentials.Abstractions
{
    public interface IScheduledActionService
    {
        void Add(ScheduledAction action);
        Reminder AddReminder(string name, string title, string body, DateTime beginTime, Uri navigationUri, RecurrenceInterval recurrence = RecurrenceInterval.None);
        ScheduledAction Find(string name);
        IEnumerable<T> GetActions<T>() where T : ScheduledAction;
        void Remove(string name);
        void Replace(ScheduledAction action);
        void LaunchForTest(string name, TimeSpan delay);
    }
}
#endif